/* 全局样式 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
}

/* 通用间距 */
.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.ml-10 {
  margin-left: 10px;
}

.mr-10 {
  margin-right: 10px;
}

/* 通用卡片 */
.card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  padding: 20px;
}

/* 按钮样式 */
.btn-primary {
  color: #fff;
  background-color: #409EFF;
  border-color: #409EFF;
}

/* 文本样式 */
.text-primary {
  color: #409EFF;
}

.text-success {
  color: #67C23A;
}

.text-warning {
  color: #E6A23C;
}

.text-danger {
  color: #F56C6C;
}

.text-muted {
  color: #909399;
}

/* 图标样式 */
.el-icon-menu:before {
  content: "≡";
}

.el-icon-folder:before {
  content: "📁";
}

.el-icon-document:before {
  content: "📄";
}

.el-icon-video-play:before {
  content: "▶";
}

.el-icon-arrow-down:before {
  content: "↓";
}

.el-icon-time:before {
  content: "⌛";
}

.el-icon-check:before {
  content: "✓";
}

.el-icon-user:before {
  content: "👤";
}

.el-icon-lock:before {
  content: "🔒";
}

/* Element Plus 下拉框样式修复 */
.el-select__popper {
  z-index: 99999 !important;
}

.el-select-dropdown {
  z-index: 99999 !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 160px !important;
}

.el-popper {
  z-index: 99999 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  min-width: 160px !important;
}

/* 确保下拉框选项可见 */
.el-select-dropdown__item {
  visibility: visible !important;
  white-space: normal !important;
  height: auto !important;
  padding: 8px 12px !important;
}

/* 修复下拉菜单位置和显示问题 */
.el-popper[data-popper-placement^=bottom] .el-popper__arrow {
  visibility: visible !important;
}

/* 确保下拉菜单位置正确 */
.el-popper[role=tooltip] {
  max-width: unset !important; 
  min-width: fit-content !important;
}

/* 下拉选择框输入区域样式 */
.el-select .el-input {
  min-width: 140px !important;
}

/* 下拉项文本显示样式 */
.el-select-dropdown__item span {
  white-space: normal !important;
  word-break: break-word !important;
} 